home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4862 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.1 KB  |  35 lines

  1. Newsgroups: comp.lang.c++
  2. Path: artemis.sto.fdata.se!news
  3. From: Peter Hellgren <peter@ost.fdata.se>
  4. Subject: C++Exceptions - User Input
  5. Sender: news@artemis.sto.fdata.se (UseNet NetNews)
  6. Message-ID: <3110B164.6E96@ost.fdata.se>
  7. Date: Thu, 1 Feb 1996 12:26:12 GMT
  8. Content-Transfer-Encoding: 8bit
  9. Content-Type: text/plain; charset=iso-8859-1
  10. Mime-Version: 1.0
  11. X-Mailer: Mozilla 2.0b5 (WinNT; I)
  12. Organization: WM-data ╓STERSUND
  13.  
  14. I would like to get some advise.
  15. How do I get control of user-input in VC++ 4.0.
  16.  
  17. I was thinking of throwing C++ Exceptions from the "BusinessObjectModel" and
  18. Catching the exceptions in the User Interface. That way I can throw both
  19. from the "BusinessObjectModel" and from inside a specific UI and I don't have to 
  20. know
  21. anything about the UserInterface while implementing the Throw from the 
  22. "BusinessObjectModel".
  23.  
  24. The throw is an Object that control user Error messages in the system.
  25.  
  26. Does anyone out there have some suggestions to give me ? Is it better to
  27. subclass a CEdit and connect the Object or is there some other smart way to
  28. solve this.
  29.  
  30. Med VΣnliga HΣlsingar
  31.  
  32. Peter Hellgren.
  33.  
  34. PS
  35.